<template>
    <div>
        <el-container>
            <el-header>
                <Header></Header>
            </el-header>
            <el-container>
                <el-aside style="width: 200px">
                    <AdminNav></AdminNav>
                </el-aside>
                <el-main style="">
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<script>
    import AdminNav from '../../components/frontDeskCom/adminNav'
    import Header from '../../components/publicCom/header'
    export default {
        name: "index",
        components:{
            AdminNav,Header
        },
        methods:{

        }
    }
</script>

<style scoped lang="less">
  /*  .el-header, .el-footer {
        background-color: #B3C0D1;
        color: #333;
        text-align: center;
        div{
            margin-top: 5px;
            span,button{
                margin-left: 20px;
            }
            button{
                margin-right: 20px;
            }
        }
    }

    .el-aside {
        background-color: #D3DCE6;
        color: #333;
        text-align: center;
    }

    .el-main {
        background-color: #E9EEF3;
        color: #333;
        text-align: center;
    }

    body > .el-container {
        margin-bottom: 40px;
    }

    .el-container:nth-child(5) .el-aside,
    .el-container:nth-child(6) .el-aside {

    }
    .el-container:nth-child(7) .el-aside {

    }*/
</style>